package com.thomsonreuter.search.compare.data;

import org.skyscreamer.jsonassert.JSONCompareResult;

/**
 * storage the compared result, including the documentId and the compared result
 * which will show the difference between two docs with same documentId.
 */
public class Comparison {
  private final String documentId;
  private final JSONCompareResult compareResult;

  public Comparison(final String documentId, final JSONCompareResult compareResult) {
    this.documentId = documentId;
    this.compareResult = compareResult;
  }

  public String getDocumentId() {
    return documentId;
  }


  public JSONCompareResult getCompareResult() {
    return compareResult;
  }
}
